import request from '@/utils/request'

const api_name = '/serviceEdu/course'

export default {

    // 根据id获取课程最终发布确认信息
    getCoursePublishVoById(courseId){
        return request({
            url: `${api_name}/coursePublishVo/${courseId}`,
            method: 'get'
        })
    },

    // 根据id发布课程
    publishCourseById(courseId){
        return request({
            url: `${api_name}/publishCourseById/${courseId}`,
            method: 'get'
        })
    }

}